package com.nf;

import java.util.List;
import java.util.Map;
import java.util.Properties;

public class Student {



    public Student() {
        System.out.println("我是Student的实例，我诞生了"+this.name);
    }

    private String name;
    private Integer age;
    private List<Car> carList;
    private Map<String,Car> carMap;
    private Properties properties;

    public Properties getProperties() {
        return properties;
    }

    public void setProperties(Properties properties) {
        this.properties = properties;
    }

    public Map<String, Car> getCarMap() {
        return carMap;
    }

    public void setCarMap(Map<String, Car> carMap) {
        this.carMap = carMap;
    }

    public List<Car> getCarList() {
        return carList;
    }

    public void setCarList(List<Car> carList) {
        this.carList = carList;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        System.out.println( "从ioc容器注入进来的"+name );
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
}
